//
//  BCBaseController.swift
//  Blockfolio
//
//  Created by Maybe on 09/05/2021.
//

import UIKit


class BCBaseController: UIViewController {
    
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
    }
    
    override func viewWillDisappear(_ animated: Bool) {
        super.viewWillDisappear(animated)
    }
    
    //do something
}

extension BCBaseController {
    //do something
    
    func push(vc: UIViewController) {
        navigationController?.pushViewController(vc, animated: true)
    }
    
    func present(vc: UIViewController) {
        present(vc, animated: true, completion: nil)
    }
}
